package com.zhao.dome01.service;

import com.zhao.dome01.pojo.dto.CosPlayerEnrollDto;
import com.zhao.dome01.pojo.entry.CosPlayer;
import org.springframework.stereotype.Component;

@Component
public interface CosPlayerService {

    /**
     * 插入信息进行注册
     */
    void cosPlayerInsert(CosPlayerEnrollDto cosPlayerEnrollDto);

    /**
     * 通过账号来查询用户对象
     */
    CosPlayer selectCosPlayerByUsername(String username);
}
